package com.aaa.project.mapper;

import com.aaa.entity.UComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangxuhui
 * @since 2023-02-08
 */
@SuppressWarnings("all")
public interface UCommentMapper extends BaseMapper<UComment> {

    List<Map<String,Object>> findMyComment(@Param("uid") String uid,@Param("id") String id);
    List<UComment> findAllComment(String id);

    List<Map<String,Object>> findGuan(@Param("bid") String bid, @Param("id") String id);
}
